﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShopConfig.aspx.cs" Inherits="GreatB2C.Web.Manage.SystemSet.Shop.ShopConfig" %>

<%@ Register Src="../../../Controls/Region.ascx" TagName="Region" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>商店参数配置</title>
    <link href="../../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/MasterPage.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/xtree.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="../../../Resource/Script/jquery-1.4.2.min.js"></script>

    <script src="../../../Resource/Script/jquery.validate.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $().ready(function() {
            // validate signup form on keyup and submit
            $("#form1").validate({
                rules: {
                    txtTaxRate: {
                        required: true
                    },
                    txtMoneyPresentPoint: {
                        required: true
                        , digits: true
                    }
                },
                messages: {
                    txtTaxRate: {
                        required: "<font class='validatemsg'>* 请输入默认税率设置</font>"
                    },
                    txtMoneyPresentPoint: {
                        required: "<font class='validatemsg'>* 请输入网站标题</font>"
                        , digits: "<font class='validatemsg'>* 输入的格式不正确，请输入数字</font>"
                    }
                }
            });

        });

        function ShowDiv(objVal, objid) {
            if (objVal == "1")
                document.getElementById(objid).style.display = "block";
            else if (objVal == "0")
                document.getElementById(objid).style.display = "none";

        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
                <tr align="center">
                    <td colspan="2" class="spacingtitle">
                        <asp:Label ID="LblTitle" runat="server" Text="商店参数配置" Font-Bold="True"></asp:Label>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td style="width: 35%;" class="tdbgleft">
                        <strong>是否允许游客购买商品：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlEnableGuestBuy" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>默认商品税率优惠类型：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlTaxRateTypeSet" runat="server">
                            <asp:ListItem Text="含税，不开发票时有税率优惠" Value="1"></asp:ListItem>
                            <asp:ListItem Text="含税，不开发票时没有税率优惠" Value="2"></asp:ListItem>
                            <asp:ListItem Text="不含税，开发票时需要加收税费" Value="3"></asp:ListItem>
                            <asp:ListItem Text="不含税，开发票时不需要加收税费" Value="4"></asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>默认税率设置：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtTaxRate" runat="server" MaxLength="6" Text="0" CssClass="inputtext"
                            Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                        &nbsp;%
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtTaxRate"
                            Display="Dynamic" ErrorMessage="请输入正确的数值！" Operator="GreaterThanEqual" SetFocusOnError="True"
                            Type="Double" ValueToCompare="0"></asp:CompareValidator>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>订单编号前缀：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPrefixOrderFormNum" runat="server" MaxLength="4" CssClass="inputtext"
                            Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>在线支付单编号前缀：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPrefixPaymentNum" runat="server" MaxLength="4" CssClass="inputtext"
                            Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>商城服务接口密钥：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtShopServicesKey" runat="server" CssClass="inputtext" Width="400px"
                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>我所在的地区：</strong>
                    </td>
                    <td>
                        <uc1:Region ID="regMyPosition" runat="server" />
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>订购流程收银台处收货人默认地址：</strong>
                        <br />
                        对游客或尚无收货地址的用户，此处设置才有效；如果无需默认，请保留“请选择”。
                    </td>
                    <td>
                        <uc1:Region ID="regDefaultAddress" runat="server" />
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>我所在地区的邮政编码：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPostCode" runat="server" MaxLength="20" CssClass="inputtext"
                            Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="ValePostCode" runat="server" ControlToValidate="txtPostCode"
                            Display="Dynamic" ErrorMessage="请输入正确的邮政编号！" SetFocusOnError="True" ValidationExpression="\d{6}"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否允许会员自主对订单只支付部分金额（即交定金）：</strong>
                        <br />
                        如果不允许，当会员预付款小于订单金额时，不允许支付；当对订单在线支付时，检查支付金额是否小于订单金额，如果小于，只打入会员帐户中作为预付款，不对订单进行支付。
                    </td>
                    <td>
                        <asp:RadioButton ID="radlEnablePartPay1" runat="server" GroupName="NeedLogin" Text="是"
                            onclick="ShowDiv( '1' , 'partAgeTR' );" />&nbsp;
                        <asp:RadioButton ID="radlEnablePartPay0" runat="server" GroupName="NeedLogin" Text="否"
                            Checked="True" onclick="ShowDiv( '0' , 'partAgeTR' );" />
                    </td>
                </tr>
                <tr id="partAgeTR" class="tdbg" style="display: none">
                    <td class="tdbgleft">
                        <strong>支付部份金额比率：</strong>
                        <br />
                        输入1-100之间的支付金额比率
                    </td>
                    <td>
                        <asp:TextBox ID="txtAge" runat="server" Text="30" CssClass="inputtext" Width="400px"
                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                        &nbsp;%
                        <asp:RequiredFieldValidator ID="ReqPriceAge" ControlToValidate="txtAge" runat="server"
                            ErrorMessage="支付金额比率不能为空" Display="Dynamic"></asp:RequiredFieldValidator>
                        <asp:RangeValidator ID="ValrPriceAge" ControlToValidate="txtAge" runat="server" MaximumValue="100"
                            MinimumValue="1" Type="Double" ErrorMessage="请输入1-100之间的支付金额比率" Display="Dynamic"></asp:RangeValidator>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>订单商品种类的数量限制：</strong>
                        <br />
                        当设置为＂0＂时，代表不限制。
                    </td>
                    <td>
                        <asp:TextBox ID="txtOrderProductNumber" runat="server" CssClass="inputtext" Width="400px"
                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="valrOrderProductNumber" ControlToValidate="txtOrderProductNumber"
                            runat="server" Display="Dynamic" ErrorMessage="订单商品种类的数量限制不能为空"></asp:RequiredFieldValidator>
                        <asp:RangeValidator ID="valrOrderProductNumberMin" ControlToValidate="txtOrderProductNumber"
                            runat="server" Display="Dynamic" MinimumValue="0" MaximumValue="65535" Type="Integer"
                            ErrorMessage="请输入正确的订单商品种类数量限制"></asp:RangeValidator>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>添加银行汇款时资金与赠送<%= getPointName( ) %>的比率：</strong>
                    </td>
                    <td>
                        每<asp:TextBox ID="txtMoneyPresentPoint" Text="1" runat="server" CssClass="inputtext"
                            Width="50px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>元钱可赠送
                        1
                        <%=getPointUnit()%>
                        <%=getPointName() %>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否开启预付款支付密码功能：</strong>
                        <br />
                        如果开启，当会员注册成功后，将提示“请设置您的预付款支付密码”；当使用预付款支付订单时，必须输入“预付款支付密码”。
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPayPassword" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否启用优惠券功能：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlEnableCoupon" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="flow" Width="128px">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否启用自动指派跟单员功能：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlSetFunctionary" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="flow" Width="128px">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否自动生成缩略图：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlThumb" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否给商品图片添加水印：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlWatermark" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在购物车页面的商品列表中显示商品类别：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlGwcProductType" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在收银台页的商品列表中显示商品类别：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPaymentProductType" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在订单预览页的商品列表中显示商品类别：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPreviewProductType" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在购物车页面的商品列表中显示销售类型：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlGwcSaleType" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在收银台页的商品列表中显示销售类型：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPaymentSaleType" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在订单预览页的商品列表中显示销售类型：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPreviewSaleType" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在购物车页面的商品列表显示市场价：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlGwcMarkPrice" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在收银台页的商品列表中显示市场价：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPaymentMarkPrice" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在订单预览页的商品列表中显示市场价：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPreviewMarkPrice" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft" style="font-weight: bold">
                        服务到期的软件类商品是否继续提供下载：
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlAllowDownloadOvertime" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft" style="font-weight: bold">
                        是否显示订单总价及资金明细总价：
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlOrderDetailsTotal" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>折扣基价计算方式：</strong>
                        <br />
                        （会员组折扣和代理商组折扣的计算标准）
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlDiscountBasePriceComputeType" runat="server" RepeatDirection="Horizontal"
                            Width="240px">
                            <asp:ListItem Value="0">按本店零售价计算</asp:ListItem>
                            <asp:ListItem Value="1">按市场价计算</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft" style="font-weight: bold">
                        代理商代付时代理价的计算方式：
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlAgentPaymentComputType" runat="server" RepeatDirection="Horizontal"
                            Width="569px">
                            <asp:ListItem Value="0">按照当前商品价格的代理折扣价计算订单金额</asp:ListItem>
                            <asp:ListItem Value="1">按照订单商品的指定价的代理折扣价计算订单金额</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft" style="font-weight: bold">
                        代理商代付时扣款方式：
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlAgentPaymentDeductMoneyType" runat="server" RepeatDirection="Horizontal"
                            Width="316px">
                            <asp:ListItem Value="0">全额扣款后再返还代理价差额</asp:ListItem>
                            <asp:ListItem Value="1">直接以代理价扣款</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在购物车显示商品缩略图：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlGwcProducdtThumb" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" onclick="ShowDiv(this.value,'tblGwcProductThumbSize');">是</asp:ListItem>
                            <asp:ListItem Value="0" onclick="ShowDiv(this.value,'tblGwcProductThumbSize');" Selected="true">否</asp:ListItem>
                        </asp:RadioButtonList>
                        <table id="tblGwcProductThumbSize" style="display: none;">
                            <tr>
                                <td>
                                    缩略图宽度:<asp:TextBox ID="txtGwcProductThumbWidth" runat="server" Width="20" Text="0"
                                        CssClass="inputtext" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>缩略图高度:<asp:TextBox
                                            ID="txtGwcProductThumbHeight" runat="server" Width="20" Text="45" CssClass="inputtext"
                                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    如果您不能确认图片的原始尺寸，无法指定具体的宽和高时，可以只指定宽度或者高度中的一个值，0代表不设置，图片会根据您设置的宽度或高度自动调节图片大小，以此避免图片失真的情况
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在收银台显示商品缩略图：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPaymentProductThumb" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" onclick="ShowDiv(this.value,'tblPaymentProductThumbSize');">是</asp:ListItem>
                            <asp:ListItem Value="0" onclick="ShowDiv(this.value,'tblPaymentProductThumbSize');"
                                Selected="true">否</asp:ListItem>
                        </asp:RadioButtonList>
                        <table id="tblPaymentProductThumbSize" style="display: none;">
                            <tr>
                                <td>
                                    缩略图宽度:<asp:TextBox ID="txtPaymentProductThumbWidth" runat="server" Width="20" CssClass="inputtext"
                                        onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>缩略图高度:<asp:TextBox
                                            ID="txtPaymentProductThumbHeight" runat="server" Width="20" CssClass="inputtext"
                                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    如果您不能确认图片的原始尺寸，无法指定具体的宽和高时，可以只指定宽度或者高度中的一个值，0代表不设置，图片会根据您设置的宽度或高度自动调节图片大小，以此避免图片失真的情况
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在预览页页面显示商品缩略图：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlPreviewProductThumb" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" onclick="ShowDiv(this.value,'tblPreviewProductThumbSize');">是</asp:ListItem>
                            <asp:ListItem Value="0" onclick="ShowDiv(this.value,'tblPreviewProductThumbSize');"
                                Selected="true">否</asp:ListItem>
                        </asp:RadioButtonList>
                        <table id="tblPreviewProductThumbSize" style="display: none;">
                            <tr>
                                <td>
                                    缩略图宽度:<asp:TextBox ID="txtPreviewProductThumbWidth" runat="server" Width="20" CssClass="inputtext"
                                        onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>缩略图高度:<asp:TextBox
                                            ID="txtPreviewProductThumbHeight" runat="server" Width="20" CssClass="inputtext"
                                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    如果您不能确认图片的原始尺寸，无法指定具体的宽和高时，可以只指定宽度或者高度中的一个值，0代表不设置，图片会根据您设置的宽度或高度自动调节图片大小，以此避免图片失真的情况
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在订单信息页的商品列表中显示商品缩略图：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlShowOrderProductListThumb" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" onclick="ShowDiv(this.value,'tblOrderProductListThumbSize');">是</asp:ListItem>
                            <asp:ListItem Value="0" onclick="ShowDiv(this.value,'tblOrderProductListThumbSize');"
                                Selected="true">否</asp:ListItem>
                        </asp:RadioButtonList>
                        <table id="tblOrderProductListThumbSize" style="display: none;">
                            <tr>
                                <td>
                                    缩略图宽度:<asp:TextBox ID="txtOrderProductListThumbWidth" AutoPostBack="true" runat="server"
                                        Width="20" CssClass="inputtext" onfocus="this.style.backgroundColor='#d2e0f0';"
                                        onblur="this.style.backgroundColor='';"></asp:TextBox>缩略图高度:<asp:TextBox ID="txtOrderProductListThumbHeight"
                                            runat="server" Width="20" CssClass="inputtext" onfocus="this.style.backgroundColor='#d2e0f0';"
                                            onblur="this.style.backgroundColor='';"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    如果您不能确认图片的原始尺寸，无法指定具体的宽和高时，可以只指定宽度或者高度中的一个值，0代表不设置，图片会根据您设置的宽度或高度自动调节图片大小，以此避免图片失真的情况
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>是否在商品管理页的商品列表中显示商品缩略图：</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlShowProducdtListThumb" runat="server" RepeatLayout="Flow"
                            RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" onclick="ShowDiv(this.value,'tblProductListThumbSize');">是</asp:ListItem>
                            <asp:ListItem Value="0" onclick="ShowDiv(this.value,'tblProductListThumbSize');"
                                Selected="true">否</asp:ListItem>
                        </asp:RadioButtonList>
                        <table id="tblProductListThumbSize" style="display: none;">
                            <tr>
                                <td>
                                    缩略图宽度:<asp:TextBox ID="txtProductListThumbWidth" runat="server" Width="20" CssClass="inputtext"
                                        onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>缩略图高度:<asp:TextBox
                                            ID="txtProductListThumbHeight" runat="server" Width="20" CssClass="inputtext"
                                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    如果您不能确认图片的原始尺寸，无法指定具体的宽和高时，可以只指定宽度或者高度中的一个值，0代表不设置，图片会根据您设置的宽度或高度自动调节图片大小，以此避免图片失真的情况
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>购物车继续购物按钮链接地址：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtContinueBuy" runat="server" CssClass="inputtext" Width="400px"
                            onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>订购成功返回按钮链接地址：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtAgainBuy" runat="server" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';"
                            onblur="this.style.backgroundColor='';"></asp:TextBox>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>购物流程模式：</strong>
                    </td>
                    <td>
                        <asp:RadioButton ID="radNewShoppingFlow" runat="server" GroupName="ShoppingFlow"
                            Text="三步购物流程（使用Shopping.aspx文件）-新" Checked="true" />
                        <asp:RadioButton ID="radOldShoppingFlow" runat="server" GroupName="ShoppingFlow"
                            Text="四步购物流程（使用ShoppingCart.aspx文件）" />
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>购物车中是否默认选择赠品赠送：</strong>
                    </td>
                    <td>
                        <asp:CheckBox ID="chkShoppingCartSendPresent" runat="server" />
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>在线支付成功后以站内信发送卡号和密码：</strong>
                    </td>
                    <td>
                        <asp:CheckBox ID="chkCardOnlinePayMessage" runat="server" />
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>在线支付成功后以手机短信发送卡号和密码：</strong>
                    </td>
                    <td>
                        <asp:CheckBox ID="chkCardOnlinePayMobilePhone" runat="server" />
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>在线支付成功后以邮件发送卡号和密码：</strong>
                    </td>
                    <td>
                        <asp:CheckBox ID="chkCardOnlinePayMail" runat="server" />
                    </td>
                </tr>
                <tr class="tdbg">
                    <td class="tdbgleft">
                        <strong>使用优惠券时是否允许优惠券抵消运费部分：</strong>
                    </td>
                    <td>
                        <asp:CheckBox ID="chkCouponDeliverPay" runat="server" />
                    </td>
                </tr>
                <tr class="tdbgbottom">
                    <td colspan="2">
                        <asp:Button ID="BtnSubmit" runat="server" Text="保存设置[S]" class="btnstyle_blue" Style="width: 90px;"
                            AccessKey="S" onmouseover="this.className='btnstyle_blue_over'" onmouseout="this.className='btnstyle_blue'"
                            OnClick="BtnSubmit_Click" />&nbsp;&nbsp;
                        <input type="reset" name="ClearSiteInfo" value="重 填[R]" class="btnstyle_blue" id="btnSiteInfoReset"
                            accesskey="R" style="width: 70px;" runat="server" onmouseover="this.className='btnstyle_blue_over'"
                            onmouseout="this.className='btnstyle_blue'" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
